package com.java.comprehensive.other.config.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 自定义注解`UnInheritedTest`没有使用`@Inherited`元注解，表示此自定义注解**用在类上时，不会被子类所继承**
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface UnInheritedTest {
    String value() default "this is default value for custom annotation UnInheritedTest that can not use Annotation @Inherited.";
}